<div id="product_comment_modal" class="modal fade">
    <div class="modal-dialog" >
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title">商品评论</h4>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="col-sm-1"></div>
                        <div class="col-sm-10">
                            <label id="comment" class="control-label"></label>
                        </div>
                    </div>
                </div>
            </div>

            <div class="modal-footer">
                <button id="btn" class="btn btn-primary"></button>
            </div>
        </div>
    </div>
</div>
<script>
function modStauts(product_comment_id, status){
  $.ajax({
			url: '{:U("Admin/Product/updateProductComment/")}',
			type: 'post',
			dataType: 'json',
			data:{
				"product_comment_id":product_comment_id,
				"status" : status
			}
		})
		.success(function(data){
			$('#product_comment_modal').modal('hide');
			location.reload();
	});
}
</script>